package com.example.springcloudwinter.bo;

import com.example.springcloudwinter.po.BusinessPo;

public class BusinessBo {
    private int businessId;
    private String businessName;
    private String businessAddress;
    private String businessExplain;
    private String businessImg;
    private int orderTypeId;
    private double starPrice;
    private double deliveryPrice;
    public BusinessBo(){};

    public BusinessBo(BusinessPo businessPo){
        businessId=businessPo.getBusinessId();
        businessName=businessPo.getBusinessName();
        businessAddress=businessPo.getBusinessAddress();
        businessExplain=businessPo.getBusinessExplain();
        businessImg=businessPo.getBusinessImg();
        orderTypeId=businessPo.getOrderTypeId();
        starPrice=businessPo.getStarPrice();
        deliveryPrice=businessPo.getDeliveryPrice();
    }
    public int getBusinessId() {
        return businessId;
    }

    public BusinessBo setBusinessId(int businessId) {
        this.businessId = businessId;
        return this;
    }

    public String getBusinessName() {
        return businessName;
    }

    public BusinessBo setBusinessName(String businessName) {
        this.businessName = businessName;
        return this;
    }

    public String getBusinessAddress() {
        return businessAddress;
    }

    public BusinessBo setBusinessAddress(String businessAddress) {
        this.businessAddress = businessAddress;
        return this;
    }

    public String getBusinessExplain() {
        return businessExplain;
    }

    public BusinessBo setBusinessExplain(String businessExplain) {
        this.businessExplain = businessExplain;
        return this;
    }

    public String getBusinessImg() {
        return businessImg;
    }

    public BusinessBo setBusinessImg(String businessImg) {
        this.businessImg = businessImg;
        return this;
    }

    public int getOrderTypeId() {
        return orderTypeId;
    }

    public BusinessBo setOrderTypeId(int orderTypeId) {
        this.orderTypeId = orderTypeId;
        return this;
    }

    public double getStarPrice() {
        return starPrice;
    }

    public BusinessBo setStarPrice(double starPrice) {
        this.starPrice = starPrice;
        return this;
    }

    public double getDeliveryPrice() {
        return deliveryPrice;
    }

    public BusinessBo setDeliveryPrice(double deliveryPrice) {
        this.deliveryPrice = deliveryPrice;
        return this;
    }
}
